import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import ECharts from 'vue-echarts/components/ECharts'
import 'echarts/lib/chart/bar'
import 'echarts/lib/chart/line'
import 'echarts-liquidfill/src/liquidFill.js'
import dataV from '@jiaminghi/data-view'
import VCharts from 'v-charts'
import './assets/scss/cover-element.scss'
import './assets/scss/common.scss'
// 全局注册chart组件
Vue.component('chart', ECharts)
Vue.use(VCharts)
// import echarts from 'echarts'
Vue.use(dataV)
Vue.use(ElementUI)
Vue.use(dataV)

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
}).$mount('#app')
